package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallAftersale;
import com.ctsi.ssdc.domain.LitemallAftersaleExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallAftersaleRepository extends BaseRepository<LitemallAftersale, Integer, LitemallAftersaleExample> {
    @Override
    long countByExample(LitemallAftersaleExample example);

    @Override
    int deleteByExample(LitemallAftersaleExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallAftersale record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallAftersale record);

    @Override
    List<LitemallAftersale> selectByExample(LitemallAftersaleExample example);

    @Override
    LitemallAftersale selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallAftersale record, @Param("example") LitemallAftersaleExample example);

    @Override
    int updateByExample(@Param("record") LitemallAftersale record, @Param("example") LitemallAftersaleExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallAftersale record);

    @Override
    int updateByPrimaryKey(LitemallAftersale record);

    LitemallAftersale selectOneByExample(LitemallAftersaleExample example);
}